package com.example.mobile2021606140lhq0323homework;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        EditText edtSter2 = findViewById(R.id.edtTxt_mian_ster2);
        EditText edtSter3 = findViewById(R.id.edtTxt_mian_ster3);
        EditText edtSter4 = findViewById(R.id.edtTxt_mian_ster4);
        Button btnXiu = findViewById(R.id.bnt_mian_xiu);

        btnXiu.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                String strSter2 = edtSter2.getText().toString();
                String strSter3 = edtSter3.getText().toString();
                String strSter4 = edtSter4.getText().toString();

            }
        });
    }
}